zerotrie
A data structure offering zero-copy storage and retrieval of byte strings, with a focus
on the efficient storage of ASCII strings. Strings are mapped to usize
values.
[ZeroTrie
] does not support mutation because doing so would require recomputing the entire
data structure. Instead, it supports conversion to and from LiteMap
and BTreeMap
.
There are multiple variants of [ZeroTrie
] optimized for different use cases.
Examples
use ZeroTrie;
let data: & = &;
let trie: = data.iter.copied.collect;
assert_eq!;
assert_eq!;
Internal Structure
To read about the internal structure of [ZeroTrie
], build the docs with private modules:
More Information
For more information on development, authorship, contributing etc. please visit ICU4X home page
.